﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Communergy.Common;
using Communergy.Repository.InMemory.Entities;


namespace Communergy.Repository.InMemory.Tests
{
    /// <summary>
    /// InMemoryUnitOfWork with the Pending items exposed as properties, for checking
    /// </summary>
    public class MockInMemoryUnitOfWork: InMemoryUnitOfWork
    {
        public List<Meter> MetersPending
        {
            get
            {
                return this.metersPending;
            }
        }

        public List<PendingMeterSource> MeterSourcesPending
        {
            get
            {
                return this.meterSourcesPending;
            }
        }

        public List<MeterSourceEnergyDataContainer> PendingEnergyDatum
        {
            get
            {
                return this.pendingEnergyDatum;
            }
        }

        public List<MeterSourceEnergyDataContainer> SavedEnergyDatum
        {
            get
            {
                return this.energyDatum;
            }
        }
    }



}
